﻿using System;using ERP_RORZE_SYSTEM;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_DLL.Product.database
{
    public class ClsMOMaterialTable
    {
        #region Members
        protected int iD;
        protected string mONo;
        protected string partID;
        protected string materialID;
        protected string materialType;
        protected string cutSize;
        protected int materialPrice;
        protected string shape;
        protected double thickness;
        protected double lenght;
        protected double width;
        protected int price;
        protected bool finished;
        protected DateTime finishdate;
        protected string note;
        #endregion
        #region Public Properties

        /// <summary>
        /// Property relating to database column ID(int,not null)
        /// </summary>
        public int ID
        {
            get { return iD; }
            set { iD = value; }
        }

        /// <summary>
        /// Property relating to database column MONo(nvarchar(50),null)
        /// </summary>
        public string MONo
        {
            get { return mONo; }
            set { mONo = value; }
        }

        /// <summary>
        /// Property relating to database column PartID(nvarchar(50),null)
        /// </summary>
        public string PartID
        {
            get { return partID; }
            set { partID = value; }
        }

        /// <summary>
        /// Property relating to database column MaterialID(nvarchar(50),null)
        /// </summary>
        public string MaterialID
        {
            get { return materialID; }
            set { materialID = value; }
        }

        /// <summary>
        /// Property relating to database column MaterialType(nvarchar(50),null)
        /// </summary>
        public string MaterialType
        {
            get { return materialType; }
            set { materialType = value; }
        }

        /// <summary>
        /// Property relating to database column CutSize(nchar(10),null)
        /// </summary>
        public string CutSize
        {
            get { return cutSize; }
            set { cutSize = value; }
        }

        /// <summary>
        /// Property relating to database column MaterialPrice(money,null)
        /// </summary>
        public int MaterialPrice
        {
            get { return materialPrice; }
            set { materialPrice = value; }
        }

        /// <summary>
        /// Property relating to database column Shape(nvarchar(50),null)
        /// </summary>
        public string Shape
        {
            get { return shape; }
            set { shape = value; }
        }

        /// <summary>
        /// Property relating to database column Thickness(float,null)
        /// </summary>
        public double Thickness
        {
            get { return thickness; }
            set { thickness = value; }
        }

        /// <summary>
        /// Property relating to database column lenght(float,null)
        /// </summary>
        public double Lenght
        {
            get { return lenght; }
            set { lenght = value; }
        }

        /// <summary>
        /// Property relating to database column width(float,null)
        /// </summary>
        public double Width
        {
            get { return width; }
            set { width = value; }
        }

        /// <summary>
        /// Property relating to database column Price(money,null)
        /// </summary>
        public int Price
        {
            get { return price; }
            set { price = value; }
        }

        /// <summary>
        /// Property relating to database column Finished(bit,null)
        /// </summary>
        public bool Finished
        {
            get { return finished; }
            set { finished = value; }
        }

        /// <summary>
        /// Property relating to database column Finishdate(datetime,null)
        /// </summary>
        public DateTime Finishdate
        {
            get { return finishdate; }
            set { finishdate = value; }
        }

        /// <summary>
        /// Property relating to database column Note(nvarchar(250),null)
        /// </summary>
        public string Note
        {
            get { return note; }
            set { note = value; }
        }
        #endregion

    }
}
